FROM openjdk:17.0-jre-buster

ENV TZ=Asia/Shanghai
RUN ln -snf /user/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY gs-server.jar /app.jar

ENTRYPOINT ["java", "-jar","/app.jar"]